package br.com.freelancer.dao;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import br.com.freelancer.modelo.Usuario;
import br.com.freelancer.persistencia.GenericDAOImpl;

@Repository
@Transactional
public class UsuarioDAO extends GenericDAOImpl<Long, Usuario> implements IUsuarioDAO {

	@Autowired
	@Override
	public void init(SessionFactory sessionFactory) {
		this.setSessionFactory(sessionFactory);
	}

}
